CQG API Documentation 4.0 - Revised
Error Codes
Send Feedback

Glossary Item Box

The data errors that might be encountered during CQG API operation are described below:

Code Description
102 Object is disposed. No method can be called.
103* Failed to start Quote Agent.
104 Failed to convert time to the user time zone.
105* You are not enabled for retrieving data via CQG API.
To enable this feature, please call CQG Customer Support.
107 Failed to create an instance of com object.
111* Failed to start Query Agent.
112* Error occured while processing InstrumentsGroup.
113* Failed to request positions.
114 Failed to create an order.
115 Failed to request historical sessions.
125* CQGIC is not started.
126* Incorrect symbol.
127 Account subscription level is too low to perform the requested task.
130* Order related error occurred.
131* Failed to request timed bars.
132 Failed to request list of all authorized traders.
136 Failed to request historical orders.
137* Failed to request DOM status.
138 A valid account must be specified in order queries.
142* Failed to request ticks.
143* Failed to request orders.
144 Failed to cancel all orders.
145 Failed to activate all orders.
147 User formulas not found.
148 You are not enabled for Strategy Manager. Please contact customer support.
150 No data sources available.
151 No data source symbols available.
153 Failed to request tradable commodities.
155 No custom sessions available.
156 Failed to request data source symbols.
157* Failed to request constant volume bars.
158* Failed to request point and figure bars.
159* Failed to request TFlow bars.
160* Failed to request yields.
161* Failed to request custom study.
162* Failed to request trading system.
163* Failed to request condition.
164* Failed to request expression.
174* Failed to process formula definition(s).
176* Failed to request bars timestamps.
178 Failed to request tradable exchanges.
179* No historical sessions available.
181* Failed to request advanced study.
182* Failed to request sub minute bars.
183* Failed to allocate a memory. The application is out of memory. Try to close any other unused application and/or restart the application.
187* Failed to process the symbol.
196* Failed to start API instance: maximum number of instances is exceeded.
197* Your system symbology mode is incompatible with the API. Turn off the exchange symbology mode to use the API.
200* Error occurred during order-routing-related request processing. A general error code reported when a specific failure reason is unknown.
201* Unknown error occurred during accounts request processing.
204* Unable to retrieve currency rates from FCM.
207* Failed to request strategy quotes (RFQ).
321 Failed to place the order.
322 Failed to modify the order.
323 Failed to cancel the order.
324 Failed to register algorithmic order type.
325 Failed to unregister algorithmic order type.
327* Failed to request commodity instruments.
328* Failed to activate the order.
329 Failed to define synthetic strategy.
333 Failed to request manual fill update.
334 Failed to request manual fills.
335* Failed to park the order.
352 Failed to place the compound order.
353* Failed to modify the compound order.
354 Failed to place the bracket order.
357 Execution pattern request has failed.
400 Failed to request instruments group.
405 Failed to request summaries statement.
406 Failed to request positions statement.
408 Failed to logon into GW.
502 Failed to change the password.
503* Connection with Login Service has failed.
505 Failed to start RemoteAPIAgent.
507* Not authenticated in LoginService.
508 Failed to request QFormula by specified name.
509 Failed to create QFormula.
510 Failed to delete QFormula.

(*) A DataError event can be fired containing this error.